package com.speakerssphere.extension;

import com.smartfoxserver.v2.core.SFSEventType;
import com.smartfoxserver.v2.extensions.SFSExtension;
import com.speakerssphere.extension.handlers.LoginEventHandler;
import com.speakerssphere.extension.handlers.LogoutEventHandler;

public class SpeakersSphereExtension extends SFSExtension {

	@Override
	public void init() {
		trace("My CustomLogin extension starts!");

		// Register for login event
		addEventHandler(SFSEventType.USER_LOGIN, LoginEventHandler.class);
		addEventHandler(SFSEventType.USER_LOGOUT, LogoutEventHandler.class);
	}

}
